package com.atmilan.quartz.service.impl;

import com.atmilan.quartz.mapper.LeamProductMapper;
import com.atmilan.quartz.mapper.XyyProductMapper;
import com.atmilan.quartz.model.entity.leam.LeamProduct;
import com.atmilan.quartz.model.entity.xyy.XyyProduct;
import com.atmilan.quartz.service.ILeamProductService;
import com.atmilan.quartz.service.IXyyProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LeamProductServiceImpl extends ServiceImpl<LeamProductMapper, LeamProduct> implements ILeamProductService {
    @Autowired
    LeamProductMapper leamProductMapper;

    @Override
    public void deleteAll() {
        leamProductMapper.deleteAll();
    }

    @Override
    public void copyAll() {
        leamProductMapper.deleteProductBack();
        leamProductMapper.copyProductBack();
    }
    
}
